﻿using System;
using System.Collections.Generic;
using System.Text;

namespace ConsoleApp1
{
    class car   

    {
        private string name;
        public string Name { get => name; set => name = value; }

        public car(string name)
        {
            this.name = name;
        }
        public void run()
        {
            Console.WriteLine("我是车{0}，我跑的很快",this.name);
        }
        
    }
}
